package com.neuedu.service.impl;

import com.neuedu.common.DBUtil;
import com.neuedu.dao.AddDeptmentDao;
import com.neuedu.factory.ClassFactory;
import com.neuedu.service.AddDeptService;

import java.sql.Connection;

public class AddDeptServiceImpl implements AddDeptService {
    @Override
    public int addDeptment(Object[] objs) {
        AddDeptmentDao add= (AddDeptmentDao) ClassFactory.createObj("AddDeptmentDao");
        return add.addDeptment(objs);
    }
}
